export interface studentInfoData {
    _id?: string,
    name: string,
    gender: string,
    school?: string,
    major?: string,
    grade?: string,
    education?: string,
    direction: string,
    id_number?: string,
    phone: string,
    parent?: string,
    parent_phone?: string,
    address?: string,
    qq?:string,
    class: string,
    admission_date?: string,
    teacher_id: string,
    manager_id: string,
    pictures?: string[],
    note?: string,
    __v?: number
}
export interface addStuResponseData{
    status:number,
    data?:studentInfoData,
    msg?:string
}
export interface pageData{
    page:number,
    size:number,
    searchMap?:searchMap
}
export interface searchMap{
    name?:string,
    direction?:string,
    class?:string,
    teacher_id?:string,
    manager_id?:string,
}
export interface pageStuResponseData{
    status:number,
    data?:totalData,
    msg?:string
}
export interface totalData{
    total:number,
    data:studentInfoData[]
}
export interface deleteStuResponseData{
    status:number,
    msg?:string
}

//单月学员数量data数据类型
interface monthData{
    _id:string,
    count:number
}
//查询某一年每月学员数量接口返回数据类型
export interface studentYearResponseData{
    status:string,
    data:monthData[]
}